function! plugin#vim_project#load() abort
    if !exists(':ProjectList')
        packadd vim-project
    endif
    return exists(':ProjectList')
endfunction

function! plugin#vim_project#init() abort
    if plugin#vim_project#load()
        let g:leader_keymap = get(g:, 'leader_keymap', { 'name': '+leader' })
        let g:project_keymap = get(g:, 'project_keymap', { 'name': '+project' })
        let g:leader_keymap.p = g:project_keymap
    endif
endfunction

